import React, { Component } from "react";
import { NavLink } from "react-router-dom";

import "./index.scss";

class TabBar extends Component {
  render() {
    return (
      <div className="tabbar_component">
        <ul>
          <li>
            <NavLink to="/home">
              <i className="iconfont iconshouye" />
              <span>首页</span>
            </NavLink>
          </li>
          <li>
            <NavLink to="/goodsList">
              <i className="iconfont iconfaxian" />
              <span>发现</span>
            </NavLink>
          </li>
          <li>
            <NavLink to="/center">
              <i className="iconfont iconself" />
              <span>我的商城</span>
            </NavLink>
          </li>
        </ul>
      </div>
    );
  }
}

export default TabBar;
